package com.dayuanit.dy15.atm.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (AtmCard)实体类
 *
 * @author makejava
 * @since 2020-05-23 11:48:32
 */
public class AtmCard implements Serializable {
    private static final long serialVersionUID = -56551786426879921L;
    
    private Long id;
    /**
    * 卡号
    */
    private String cardNum;
    /**
    * 持卡人ID
    */
    private Long userId;
    /**
    * 银行卡密码
    */
    private String password;
    /**
    * 余额  单位：分
    */
    private Integer balance;
    /**
    * 状态 1-可用 2-冻结
    */
    private Integer status;
    /**
    * 开户时间
    */
    private Date createTime;
    /**
    * 修改时间
    */
    private Date modifyTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

}